from time import sleep
from selenium import webdriver
driver = webdriver.Firefox()
driver.get('https://mail.163.com/register/index.htm?from=163navi&regPage=163')
driver.find_element_by_id('username').send_keys('zzmzzmdsb')
driver.find_element_by_id('password').send_keys('Zzm123456789')
driver.find_element_by_id('phone').send_keys('13833113778')
CSS_path1 = '.custom-checkbox > span:nth-child(1)'
driver.find_element_by_css_selector(CSS_path1).click()
CSS_path = '.j-register'
driver.find_element_by_css_selector(CSS_path).click()
sleep(3)
driver.quit()